import { Calendar } from 'antd';
// import 'moment/locale/zh-cn';
// import locale from 'antd/lib/date-picker/locale/zh_CN';


function onPanelChange(value: any, mode: any) {
  console.log(value.format('YYYY-MM-DD'), mode);
}

const CalendarModel = () => (
  <>
    <Calendar onPanelChange={onPanelChange} />
  </>
)

export default CalendarModel;
